package id.net.iconpln.bb.server;

import id.net.iconpln.bb.client.service.ApprovalService;
import id.net.iconpln.bb.server.service.ApprovalServices;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@Repository
public class ApprovalServiceImpl extends RemoteServiceServlet implements ApprovalService{
	@Autowired private ApprovalServices approvalServices;
	
	@Override
	public List<Map> getlistpengiriman_approval(String kode, Map map) {
		// TODO Auto-generated method stub
		List<Map> lMap = approvalServices.getlistpengiriman_approval(kode, map);
		return lMap;
	}

	@Override
	public List<Map> insertBbPengirimanBb(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalServices.insertBbPengirimanBb(kode, map);
	}

	@Override
	public List<Map> insertGudangBb(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalServices.insertGudangBb(kode, map);
	}

	@Override
	public List<Map> getlistRakor(String kode, Map map) {
		// TODO Auto-generated method stub
		List<Map> lMap = approvalServices.getlistRakor(kode, map);
		return lMap;
	}

	@Override
	public List<Map> getlistPltuByNorakor(String kode, Map map) {
		// TODO Auto-generated method stub
		List<Map> lMap = approvalServices.getlistPltuByNorakor(kode, map);
		return lMap;
	}
}
